/*
 * @Description: 线路公告数据模型
 * @Author: yingying.fan
 * @Date: 2019-05-28 16:53:27
 * @Last Modified by: yingying.fan
 * @Last Modified time: 2019-05-28 17:33:27
 */
export default class NoticeModel {
  /**
   *
   * @param {String} id 公告编号
   * @param {String} title 公告标题
   * @param {String} content 公告内容
   * @param {String} time 公告时间
   * @param {String[]} segmentNameList 公告绑定的线路名列表
   * @param {String} goToUrl 跳转地址
   */
  constructor(id, title, content, time, segmentNameList, goToUrl) {
    this.id = id
    this.title = title
    this.content = content
    this.time = time
    this.segmentNameList = segmentNameList
    this.goToUrl = null
    // this.goToUrl = goToUrl || null
  }
}
